package palf.commands {
import palf.Gallery;
import palf.visualEffects.VisualEffect;

internal class ApplyEffectToGallery implements Command {

	private var gallery : Gallery;
	private var effect : VisualEffect;

	public function ApplyEffectToGallery(gallery : Gallery, effect : VisualEffect) {
		this.gallery = gallery;
		this.effect = effect;
	}

	public function execute() : void {
		gallery.applyEffect(effect);
	}
}
}
